/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.dosideas.springbatch.demo3;

import org.springframework.batch.item.support.AbstractItemWriter;

/**
 *
 * @author ldeseta
 */
public class ConsolaItemWriter extends AbstractItemWriter {

    public void write(Object item) throws Exception {
        Planeta planeta = (Planeta) item;
        System.out.println(planeta.toString());
    }

}
